/**
 * @description 请求的API接口
 * @type {{userLogin: {url: string, needToken: boolean}, UserSelectUserInfo: {url: string, needToken: boolean}, AdminSelectUserInfo: {url: string, needToken: boolean}, SelectUserInfo: {url: string, needToken: boolean}, getAdvert: {url: string, needToken: boolean}}}
 * @author 十一
 * @date 2022-12-04 15:36
 */
const apiPath = {
    /**
     * 首页 Banner 接口
     */
    getAdvert: {
        url: "Advert/GetAdvert",
        needToken: false
    },
    /**
     * 登录接口
     */
    login: {
        url: "User/Login",
        needToken: false
    },
    /**
     * 微信小程序解密手机号接口
     */
    weixinDecryptPhone: {
        url: "User/WeixinDecryptPhone",
        needToken: true
    },
    /**
     * 修改个人信息接口
     */
    updateUserInfo: {
        url: "User/UpdateUserInfo",
        needToken: true
    },
    userLogin: {
        url: "Test/UserLogin",
        needToken: false
    },
    SelectUserInfo: {
        url: "Test/SelectUserInfo",
        needToken: false
    },
    UserSelectUserInfo: {
        url: "Test/UserSelectUserInfo",
        needToken: true
    },
    AdminSelectUserInfo: {
        url: "Test/AdminSelectUserInfo",
        needToken: true
    }
};

export default apiPath;